package com.zhuss.bean.bo.core.login.wechat;

import java.io.Serializable;

import com.zhuss.bean.unit.core.user.UserBean;
import com.zhuss.common.BaseBo;
import com.zhuss.common.IdBo;
import com.zhuss.util.PwdUtil;


public class RegisterBo extends IdBo implements Serializable, BaseBo {

	/**
	 * 
	 */
	private static final long serialVersionUID = 836585326055572043L;

	private String username;
	
	private String pwd = PwdUtil.INIT_PWD;
	
	private UserBean user;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPwd() {
		pwd = PwdUtil.md5(pwd);
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
	public UserBean getUser() {
		return user;
	}

	public void setUser(UserBean user) {
		this.user = user;
	}
    
}